<template>
	<view class="home-data m-f-ac">
		<block v-for="(item, index) in homedata" :key="index">
			<view class="m-f-jcc m-f1 m-f-column">
				<view class="data-num">{{item.num}}</view>
				<view class="data-text">{{item.name}}</view>
			</view>
		</block>
	</view>
</template>

<script>
	export default {
		props: {
			homedata: {
				type: Array
			}
		}
	}
</script>

<style lang="scss" scoped>
	.home-data {
		padding: 20rpx 40rpx;
		.data-text {
			color: #989898;
		}
		.data-num {
			font-size: 32rpx;
		}
	}
</style>
